home *** CD-ROM | disk | FTP | other *** search
/ EuroCD 3 / EuroCD 3.iso / Programming / Amos / AMOSList-1297 / AMOSLIST / 000134_amos-request@svcs1.digex.net_Sun Dec 14 17:45:14 1997.msg < prev    next >
Text File  |  1998-06-24  |  3KB  |  84 lines

  1. >From amos-request@svcs1.digex.net  Sun Dec 14 17:45:14 1997
  2. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  3.     by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id RAA27392
  4.     for <mcox@access.digex.net>; Sun, 14 Dec 1997 17:45:13 -0500 (EST)
  5. Received: (from daemon@localhost)
  6.     by svcs1.digex.net (8.8.5/8.8.5) id OAA05041
  7.     for amos-out; Sun, 14 Dec 1997 14:44:08 -0500 (EST)
  8. Received: from pony-1.mail.digex.net (pony-1.mail.digex.net [204.91.241.5])
  9.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id OAA05038
  10.     for <amos-list@svcs1.digex.net>; Sun, 14 Dec 1997 14:44:06 -0500 (EST)
  11. Received: from mago.agonet.it (mago.agonet.it [195.32.124.10])
  12.     by pony-1.mail.digex.net (8.8.8/8.8.8) with ESMTP id OAA19706
  13.     for <amos-list@access.digex.net>; Sun, 14 Dec 1997 14:44:05 -0500 (EST)
  14. Received: from agonet.it (ghizzo@p126069.agonet.it [195.32.126.69])
  15.     by mago.agonet.it (8.8.5/8.8.5) with SMTP id UAA03719;
  16.     Sun, 14 Dec 1997 20:41:40 +0100
  17. From: Pietro Ghizzoni <ghizzo@agonet.it>
  18. Reply-To: Pietro Ghizzoni <ghizzo@agonet.it>
  19. To: Mush <mushypd@redrose.net>, Jens Vang Petersen <top_cat@post8.tele.dk>
  20. CC: amos-list@access.digex.net
  21. Date: Sun, 14 Dec 1997 20:39:03 +0100
  22. Message-ID: <yam7287.150.1749304832@mail.agonet.it>
  23. In-Reply-To: <yam7286.1845.3878816@mail.redrose.net>
  24. X-Mailer: YAM 1.3.5 - Amiga Mailer by Marcel Beck
  25. Organization: Dairymen Soft
  26. Subject: Re: GUI extension..
  27. MIME-Version: 1.0
  28. Content-Type: text/plain
  29. Status: O
  30. X-Status: 
  31.  
  32. On 13-Dic-97, Mush wrote: Re: GUI extension..
  33.  
  34.  
  35. >-> 3) There's a slight bug in 'Gui Asl', if I pad the path with '/' (like
  36. >->    'ab3:includes/' then the returned filename holds two '/' in row 
  37. >->    ('ab3:includes//test.lnk') and the file can't be found by amos..
  38.  
  39. >Yes, I fixed this problem in one of my examples for the next release of the
  40. >extension. Le,mme get the code...
  41.  
  42. >   If A=9
  43. >      ' Grab a file from the user
  44. >      Do 
  45. >         F$=Gui Asl$("Pick a List of Email
  46. recipients..."+Chr$(0),Dir$,"",Chr$(0))
  47. >         F$=Gui Dir$
  48. >
  49. >         If Mid$(F$,Len(F$),1)<>"/" and Mid$(F$,Len(F$),1)<>":" : F$=F$+"/" :
  50.  
  51.  
  52. is better:
  53.  
  54. If Right$(F$,1)><"/" and Right$(F$,1)><":" : F$=F$+"/" : EndIf :)))
  55.  
  56.  
  57. >This is the code I use in my MPDMailpostV2 routine, and it handles it all
  58. >fine. It also handles the bug for when you change directorys, as it will
  59. >only add the / onto the end if it really needs it.
  60.  
  61. >Any other questions, just ask!
  62.  
  63. Any other bugs... just ask :) Now the bug is fixed, and Gui Asl$ works
  64. fine in all the situations ;)
  65.  
  66.  
  67. -- 
  68.  
  69.  
  70. Bye!
  71.  
  72.  
  73.                                      !!!
  74.                                      o o
  75.    +-----------------------------oOO-(_)-OOo----------------------------+
  76.    |                                                                    |
  77.    |  Pietro Ghizzoni - Dairymen Soft              __  /// Amiga 12OO   |
  78.    |     E-Mail:  ghizzo@agonet.it                 \\\/// 'O3O  5OMhz   |
  79.    |            Team AMIGA                          \/// 18MB - CD4x    |
  80.    |                                                                    |
  81.    | Amos Professional Team Coordinator               AMIGA RULEZ!!     |
  82.    |                                                                    |
  83.    +--------------------------------------------------------------------+
  84.